//导入 mongoose
const mongoose = require('mongoose');

//创建结构对象
const SingerSchema = mongoose.Schema({
  name: String,
  oname: String,
  mid: String,
  pic: String,
});

//创建模型对象
const Singer = mongoose.model('singer', SingerSchema);

//暴露
module.exports = Singer;